<div class="wrapper-md" ng-controller="merchandiseDisassembly">
    <toaster-container toaster-options="{'position-class': 'toast-top-center', 'close-button':true}"></toaster-container>
    <div ng-if="warehouseList" class="panel panel-default">
        <div class="panel-heading">
            {{title.title}}
            <!--<button style="float: right;margin-top: -5px;margin-left: 15px;" class="btn m-b-xs btn-sm btn-info btn-addon">-->
            <!--<i class="fa fa-trash-o"></i>删除-->
            <!--</button>-->
            <button ng-click="warehouseJump()"  style="float: right;margin-top: -5px;" class="btn m-b-xs btn-sm btn-primary btn-addon">
                <i class="fa fa-plus"></i>新建
            </button>
        </div>
        <div class="panel-body b-b b-light">
            搜索: <input id="filter" type="text" class="form-control input-sm w-sm inline m-r"/>
        </div>
        <div>
            <table class="table m-b-none" ui-jq="footable" data-filter="#filter" data-page-size="10">
                <thead>
                <tr>
                    <th data-toggle="true">{{columns[0].title}}</th>
                    <th>{{columns[1].title}}</th>
                    <th>{{columns[2].title}}</th>
                    <th>{{columns[3].title}}</th>
                    <th>{{columns[4].title}}</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="tb in saveDate">
                    <td>{{tb.createTime}}</td>
                    <td><a href ng-click="showInfo(tb)">{{tb.merchandiseDisassemblyBh}}</a></td>
                    <td>{{tb.merchandiseDisassemblyRkck}}</td>
                    <td>{{tb.merchandiseDisassemblyHpmc}}</td>
                    <td data-value="1"><span class="{{tb.status1}}" title="Active">{{tb.state}}</span></td>
                </tr>
                </tbody>
                <tfoot class="hide-if-no-paging">
                <tr>
                    <td colspan="5" class="text-center">
                        <ul class="pagination"></ul>
                    </td>
                </tr>
                </tfoot>
            </table>


        </div>
    </div>
    <div ng-if="warehouseAdd && canEdit" class="panel panel-default">
        <div class="panel-heading">
            <u style="cursor:pointer" ng-if="app.power.powerMerchandiseDisassembly" ng-click="warehouseJump('back')">{{title.title}} / </u>{{title.addTitle}}
            <button ng-click="myPrintShow()" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-default btn-addon">
                <i class="fa fa-print"></i>打印
            </button>
            <button ng-if="row.upDateUserId===app.userIdId && row.state!=='提单'" ng-click="saveInfo('sm','th')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-danger btn-addon">
                <i class="fa fa-circle"></i>退回
            </button>
            <button ng-if="row.upDateUserId==='new' || row.upDateUserId===app.userIdId" ng-click="saveInfo('sm','tj')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-info btn-addon">
                <i class="fa fa-play"></i>提交
            </button>
            <button ng-if="row.upDateUserId==='new' || row.upDateUserId===app.userIdId" ng-click="saveInfo('sm','bc')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-primary btn-addon">
                <i class="fa fa-plus"></i>保存
            </button>
            <button ng-if="app.power.powerMerchandiseDisassembly" ng-click="warehouseJump('back')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-default btn-addon">
                <i class="fa fa-hand-o-left"></i>返回
            </button>
        </div>
        <div class="panel-body">
            <div class="panel-body">
                <h3 style="text-align: center"><b>商品拆卸单</b></h3>
                <form class="form-horizontal" method="get">
                    <h7><b>单据基本信息</b></h7>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label" for="input-id-1">制&nbsp;&nbsp;单&nbsp;&nbsp;人</label>
                        <div class="col-sm-3">
                            <input disabled type="text" class="form-control" id="zdr" value="{{row.zdr}}">
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-1">制单日期</label>
                        <div class="col-sm-3">
                            <input disabled type="text" class="form-control" id="createTime" value="{{row.createTime}}"/>
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-1">单据编号</label>
                        <div class="col-sm-3">
                            <input disabled type="text" class="form-control" id="merchandiseDisassemblyBh" value="{{row.merchandiseDisassemblyBh}}">
                        </div>
                    </div>

                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label" for="input-id-2">入库仓库</label>
                        <div class="col-sm-3">
                            <select  class="form-control" ng-model="mylabel" ng-options="v for v in lists" id="merchandiseDisassemblyRkck"></select>
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-3"><span style="color:red">*</span>货品名称</label>
                        <div class="col-sm-3">
                            <input disabled style="width:84%;float: left" type="text" class="form-control" id="merchandiseDisassemblyHpmc" value="{{row.merchandiseDisassemblyHpmc}}">
                            <input disabled style="display:none" type="text" class="form-control" id="merchandiseDisassemblyHpbm" value="{{row.merchandiseDisassemblyHpbm}}">
                            <span class="input-group-btn">
                                <button ng-click="showPomGoods()" class="btn btn-default" type="button"><i class="fa fa-plus"></i></button>
                            </span>
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-4"><span style="color:red">*</span>拆卸数量</label>
                        <div class="col-sm-3">
                            <input type="text" ng-model="row.merchandiseDisassemblyZzsl" ng-change="changeSl()" class="form-control" id="merchandiseDisassemblyZzsl" value="{{row.merchandiseDisassemblyZzsl}}">
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label" for="input-id-1">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
                        <div class="col-sm-11">
                            <textarea type="text" class="form-control" id="merchandiseDisassemblyBz" value="{{row.merchandiseDisassemblyBz}}">{{row.merchandiseDisassemblyBz}}</textarea>
                        </div>
                    </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>
                <h7><b>拆卸货品明细</b></h7>
                <div class="line line-dashed b-b line-lg pull-in"></div>
            </form>
                <table class="table m-b-none" style="border:1px solid #eaeff0;" border="" cellspacing="0px" cellpadding="0px" width="100%">
                    <thead>
                    <tr>
                        <th rowspan="2"><input class="checkbox" type="checkbox" ng-click="qx()"/></th>
                        <th style="vertical-align: middle;white-space:nowrap;" colspan="3">货品信息</th>
                        <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">单位</th>
                        <th style="vertical-align: middle;white-space:nowrap;width: 10%;" rowspan="2">数量</th>
                        <th ng-if="app.power.powerPrice" style="vertical-align: middle;white-space:nowrap;" rowspan="2">单价</th>
                        <th ng-if="app.power.powerPrice" style="vertical-align: middle;white-space:nowrap;" rowspan="2">总金额</th>
                        <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">备注</th>
                    </tr>
                    <tr>
                        <th style="vertical-align: middle;white-space:nowrap;">货品编码</th>
                        <th style="vertical-align: middle;white-space:nowrap;">货品名称</th>
                        <th style="vertical-align: middle;white-space:nowrap;">规格型号</th>
                    </tr>
                    </thead>
                    <tbody id="table">
                    <tr ng-repeat="g in goods">
                        <td><input type="checkbox" name="ck" ng-click="ck($index)"></td>
                        <td>{{g.commodityAssemblyDetailsHpbm}}</td>
                        <td>{{g.commodityAssemblyDetailsHpmc}}</td>
                        <td>{{g.commodityAssemblyDetailsGgxh}}</td>
                        <td>{{g.commodityAssemblyDetailsHpdw}}</td>
                        <td>{{g.commodityAssemblyDetailsHpsl}}</td>
                        <td ng-if="app.power.powerPrice">{{g.commodityAssemblyDetailsHpdj}}</td>
                        <td ng-if="app.power.powerPrice">{{g.commodityAssemblyDetailsHpzje}}</td>
                        <td><input ng-model="goods[$index].commodityAssemblyDetailsBz" ng-change="detailsInput.bz($index)" type="text" class="form-control" id="{{g.commodityAssemblyDetailsId}}commodityAssemblyDetailsBz" value="{{g.commodityAssemblyDetailsBz}}"></td>
                    </tr>
                    </tbody>
                </table>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-1 control-label" for="input-id-1">上传附件</label>
                    <div class="col-sm-4">
                        <!--onchange='angular.element(this).scope().upFile(this)'-->
                        <input id="uploadFile"  ng-src={{files[0].name}} id="file" ui-jq="filestyle" type="file" data-icon="false" data-classButton="btn btn-default" data-classInput="form-control inline v-middle input-s">
                    </div>
                    <button type="button" class="btn btn-primary update-button" style="" ng-click="upFile()">
                        添加
                    </button>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div ng-if="showFiles.length!==0" class="hbox hbox-auto-xs hbox-auto-sm"  >
                    <div class="col">
                        <div class="wrapper-md">
                            <table class="table bg-white-only b-a">
                                <thead>
                                <tr>
                                    <th width="50%">文件名称</th>
                                    <th>大小</th>
                                    <th>进度</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="item in showFiles">
                                    <td><strong>{{ item.myFileRealName }}</strong></td>
                                    <td nowrap>{{ item.myFileSize/1024/1024|number:2 }} MB</td>
                                    <td>
                                        <div class="progress progress-sm m-b-none m-t-xs">
                                            <div class="progress-bar bg-info" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                        </div>
                                    </td>
                                    <td class="text-center">
                                        <span ng-show="item.isSuccess" class="text-success"><i class="glyphicon glyphicon-ok"></i></span>
                                        <!--<span ng-show="item.isCancel" class="text-warning"><i class="glyphicon glyphicon-ban-circle"></i></span>-->
                                        <span ng-show="item.isError" class="text-danger"><i class="glyphicon glyphicon-remove"></i></span>
                                    </td>
                                    <td nowrap>
                                        <button type="button" class="btn btn-default btn-xs" ng-click="doupFile($index)" ng-disabled="item.isReady || item.isUploading || item.isSuccess">
                                            上传
                                        </button>
                                        <button type="button" class="btn btn-default btn-xs" ng-click="" ng-disabled="!item.isCancel">
                                            <a download="" title="下载文件" href = '/a_yongan/upload/{{item.myFileType}}/{{item.myFileDocNumber}}/{{item.myFileName}}'>下载</a>
                                        </button>
                                        <button type="button" class="btn btn-default btn-xs" ng-click="deleteFile($index)">
                                            移除
                                        </button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                </div>
                <h7><b><a ng-click="showFlowDetails()">流转信息&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-sort-amount-asc"></i></a></b></h7>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <table ng-if="showFlowDetailsShow" class="table m-b-none" >
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>审批环节</th>
                        <th>审批人</th>
                        <th>审批记录</th>
                        <th>操作时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="t in showFlowDetailsData">
                        <td>{{$index+1}}</td>
                        <td>{{t.prFlowName}}</td>
                        <td>{{t.prUser}}</td>
                        <td>{{t.prType}}至{{t.prFlowToName}}（{{t.prToUser}}）</td>
                        <td>{{t.createTime}}</td>
                    </tr>
                    </tbody>
                </table>
        </div>
    </div>
</div>
    <div ng-if="warehouseAdd && (!canEdit)" id="noEdit" class="panel panel-default">
        <div class="panel-heading">
            <u style="cursor:pointer" ng-if="app.power.powerMerchandiseDisassembly" ng-click="warehouseJump('back')">{{title.title}} / </u>{{title.addTitle}}
            <button ng-click="myPrintShow()" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-default btn-addon">
                <i class="fa fa-print"></i>打印
            </button>
            <button ng-if="row.upDateUserId===app.userIdId && row.state!=='提单'" ng-click="saveInfo('sm','th')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-danger btn-addon">
                <i class="fa fa-circle"></i>退回
            </button>
            <button ng-if="row.upDateUserId==='new' || row.upDateUserId===app.userIdId" ng-click="saveInfo('sm','tj')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-info btn-addon">
                <i class="fa fa-play"></i>提交
            </button>
            <button ng-if="app.power.powerMerchandiseDisassembly" ng-click="warehouseJump('back')" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-default btn-addon">
                <i class="fa fa-hand-o-left"></i>返回
            </button>
        </div>
        <div class="panel-body">
            <div class="panel-body">
                <h3 style="text-align: center"><b>商品拆卸单</b></h3>
                <form class="form-horizontal" method="get">
                    <h7><b>单据基本信息</b></h7>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label" for="input-id-1">制&nbsp;&nbsp;单&nbsp;&nbsp;人</label>
                        <div class="col-sm-3">
                            {{row.zdr}}
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-1">制单日期</label>
                        <div class="col-sm-3">
                            {{row.createTime}}
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-1">单据编号</label>
                        <div class="col-sm-3">
                            {{row.merchandiseDisassemblyBh}}
                        </div>
                    </div>

                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label" for="input-id-2">入库仓库</label>
                        <div class="col-sm-3">
                            {{mylabel}}
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-3">货品名称</label>
                        <div class="col-sm-3">
                            {{row.merchandiseDisassemblyHpmc}}
                        </div>
                        <label class="col-sm-1 control-label" for="input-id-4">拆卸数量</label>
                        <div class="col-sm-3">
                            {{row.merchandiseDisassemblyZzsl}}
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label" for="input-id-1">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
                        <div class="col-sm-11">
                            {{row.merchandiseDisassemblyBz}}
                        </div>
                    </div>

                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <h7><b>拆卸货品明细</b></h7>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                </form>
                <table class="table m-b-none" style="border:1px solid #eaeff0;" border="" cellspacing="0px" cellpadding="0px" width="100%">
                    <thead>
                    <tr>
                        <th style="vertical-align: middle;white-space:nowrap;" colspan="3">货品信息</th>
                        <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">单位</th>
                        <th style="vertical-align: middle;white-space:nowrap;width: 10%;" rowspan="2">数量</th>
                        <th ng-if="app.power.powerPrice" style="vertical-align: middle;white-space:nowrap;" rowspan="2">单价</th>
                        <th ng-if="app.power.powerPrice" style="vertical-align: middle;white-space:nowrap;" rowspan="2">总金额</th>
                        <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">备注</th>
                    </tr>
                    <tr>
                        <th style="vertical-align: middle;white-space:nowrap;">货品编码</th>
                        <th style="vertical-align: middle;white-space:nowrap;">货品名称</th>
                        <th style="vertical-align: middle;white-space:nowrap;">规格型号</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="g in goods">
                        <td>{{g.commodityAssemblyDetailsHpbm}}</td>
                        <td>{{g.commodityAssemblyDetailsHpmc}}</td>
                        <td>{{g.commodityAssemblyDetailsGgxh}}</td>
                        <td>{{g.commodityAssemblyDetailsHpdw}}</td>
                        <td>{{g.commodityAssemblyDetailsHpsl}}</td>
                        <td ng-if="app.power.powerPrice">{{g.commodityAssemblyDetailsHpdj}}</td>
                        <td ng-if="app.power.powerPrice">{{g.commodityAssemblyDetailsHpzje}}</td>
                        <td>{{g.commodityAssemblyDetailsBz}}</td>
                    </tr>
                    </tbody>
                </table>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div ng-if="showFiles.length!==0" class="hbox hbox-auto-xs hbox-auto-sm"  >
                    <div class="col">
                        <div class="wrapper-md">
                            <table class="table bg-white-only b-a">
                                <thead>
                                <tr>
                                    <th width="50%">文件名称</th>
                                    <th>大小</th>
                                    <th>进度</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="item in showFiles">
                                    <td><strong>{{ item.myFileRealName }}</strong></td>
                                    <td nowrap>{{ item.myFileSize/1024/1024|number:2 }} MB</td>
                                    <td>
                                        <div class="progress progress-sm m-b-none m-t-xs">
                                            <div class="progress-bar bg-info" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                        </div>
                                    </td>
                                    <td class="text-center">
                                        <span ng-show="item.isSuccess" class="text-success"><i class="glyphicon glyphicon-ok"></i></span>
                                        <!--<span ng-show="item.isCancel" class="text-warning"><i class="glyphicon glyphicon-ban-circle"></i></span>-->
                                        <span ng-show="item.isError" class="text-danger"><i class="glyphicon glyphicon-remove"></i></span>
                                    </td>
                                    <td nowrap>
                                        <button type="button" class="btn btn-default btn-xs" ng-click="" ng-disabled="!item.isCancel">
                                            <a download="" title="下载文件" href = '/a_yongan/upload/{{item.myFileType}}/{{item.myFileDocNumber}}/{{item.myFileName}}'>下载</a>
                                        </button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                </div>
                <h7><b><a ng-click="showFlowDetails()">流转信息&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-sort-amount-asc"></i></a></b></h7>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <table ng-if="showFlowDetailsShow" class="table m-b-none" >
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>审批环节</th>
                        <th>审批人</th>
                        <th>审批记录</th>
                        <th>操作时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="t in showFlowDetailsData">
                        <td>{{$index+1}}</td>
                        <td>{{t.prFlowName}}</td>
                        <td>{{t.prUser}}</td>
                        <td>{{t.prType}}至{{t.prFlowToName}}（{{t.prToUser}}）</td>
                        <td>{{t.createTime}}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div ng-if="isPrint" class="panel panel-default">
        <div class="panel-heading">
            <u>{{title.title}}</u> / {{title.addTitle}}
            <button ng-click="myPrint()" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-default btn-addon">
                <i class="fa fa-print"></i>打印
            </button>
            <button ng-click="myPrintShow()" style="float: right;margin-top: -5px;margin-left: 5px;" class="btn m-b-xs btn-sm btn-default btn-addon">
                <i class="fa fa-hand-o-left"></i>返回
            </button>
        </div>
        <div class="panel-body" id="orderPrint">
            <h3 style="text-align: center"><b>商品拆卸单</b></h3>
            <form class="form-horizontal" method="get">
                <h7><b>单据基本信息</b></h7>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <table class="table m-b-none" style="border:1px solid #eaeff0;" border="" cellspacing="0px" cellpadding="0px" width="100%">
                    <tbody>
                    <tr>
                        <td style="width:20%">制&nbsp;&nbsp;单&nbsp;&nbsp;人</td><td style="width:30%">{{row.zdr}}</td>
                        <td style="width:20%">制单日期</td><td style="width:30%">{{row.createTime}}</td>
                    </tr>
                    <tr>
                        <td>单据编号</td><td>{{row.merchandiseDisassemblyBh}}</td>
                        <td>入库仓库</td><td>{{mylabel}}</td>
                    </tr>
                    <tr>
                        <td>货品名称</td><td>{{row.merchandiseDisassemblyHpmc}}</td>
                        <td>拆卸数量</td><td>{{row.merchandiseDisassemblyCxsl}}</td>
                    </tr>
                    <tr>
                        <td>备        注</td><td colspan="3">{{row.merchandiseDisassemblyBz}}</td>
                    </tr>
                    </tbody>
                </table>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <h7><b>拆卸货品明细</b></h7>
                <div class="line line-dashed b-b line-lg pull-in"></div>
            </form>
            <table class="table m-b-none" style="border:1px solid #eaeff0;" border="" cellspacing="0px" cellpadding="0px" width="100%">
                <thead>
                <tr>
                    <th style="vertical-align: middle;white-space:nowrap;" colspan="3">货品信息</th>
                    <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">单位</th>
                    <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">数量</th>
                    <th ng-if="app.power.powerPrice" style="vertical-align: middle;white-space:nowrap;" rowspan="2">单价</th>
                    <th ng-if="app.power.powerPrice" style="vertical-align: middle;white-space:nowrap;" rowspan="2">总金额</th>
                    <th style="vertical-align: middle;white-space:nowrap;" rowspan="2">备注</th>
                </tr>
                <tr>
                    <th style="vertical-align: middle;white-space:nowrap;">货品编码</th>
                    <th style="vertical-align: middle;white-space:nowrap;">货品名称</th>
                    <th style="vertical-align: middle;white-space:nowrap;">规格型号</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="g in goods">
                    <td>{{g.commodityAssemblyDetailsHpbm}}</td>
                    <td>{{g.commodityAssemblyDetailsHpmc}}</td>
                    <td>{{g.commodityAssemblyDetailsGgxh}}</td>
                    <td>{{g.commodityAssemblyDetailsHpdw}}</td>
                    <td>{{g.commodityAssemblyDetailsHpsl}}</td>
                    <td ng-if="app.power.powerPrice">{{g.commodityAssemblyDetailsHpdj}}</td>
                    <td ng-if="app.power.powerPrice">{{g.commodityAssemblyDetailsHpzje}}</td>
                    <td>{{g.commodityAssemblyDetailsBz}}</td>
                </tr>
                </tbody>
            </table>
            <div class="line line-dashed b-b line-lg pull-in"></div>
            <div ng-if="showFiles.length!==0" class="hbox hbox-auto-xs hbox-auto-sm"  >
                <div class="col">
                    <div class="wrapper-md">
                        <table class="table bg-white-only b-a">
                            <thead>
                            <tr>
                                <th width="50%">文件名称</th>
                                <th>大小</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr ng-repeat="item in showFiles">
                                <td><strong>{{ item.myFileRealName }}</strong></td>
                                <td nowrap>{{ item.myFileSize/1024/1024|number:2 }} MB</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
            </div>
            <h7><b><a>流转信息&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-sort-amount-asc"></i></a></b></h7>
            <div class="line line-dashed b-b line-lg pull-in"></div>
            <table ng-if="showFlowDetailsData.length!=0" class="table m-b-none" >
                <thead>
                <tr>
                    <th>序号</th>
                    <th>审批环节</th>
                    <th>审批人</th>
                    <th>审批记录</th>
                    <th>操作时间</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="t in showFlowDetailsData">
                    <td>{{$index+1}}</td>
                    <td>{{t.prFlowName}}</td>
                    <td>{{t.prUser}}</td>
                    <td>{{t.prType}}至{{t.prFlowToName}}（{{t.prToUser}}）</td>
                    <td>{{t.createTime}}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <script type="text/ng-template" id="myModalContent.html">
        <div ng-include="'tpl/modal.html'"></div>
    </script>
    <script type="text/ng-template" id="selectPomGoods.html">
        <div ng-include="'tpl/selectPomGoods.html'"></div>
    </script>
</div>
<style>
    #noEdit .col-sm-3{
        padding-top: 7px;
    }
</style>